package com.testdocs.client.version;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface VersionServiceAsync {	
	public void getVersions(String projectId, AsyncCallback<VersionInfo[]> callback);
	
	public void createVersion(VersionInfo newVersion, String basedOnVersionId, AsyncCallback<VersionInfo> callback);

	public void rename(VersionInfo versionInfo, AsyncCallback<Void> callback);
	public void remove(VersionInfo versions[], AsyncCallback<Void> callback);
}
